<template>
  <div>
    <Header></Header>
    <!-- 路由组件出口展示 -->
    <router-view></router-view>
    <!-- 在登录和注册隐藏 -->
    <Footer v-show="$route.meta.showFooter"></Footer>
  </div>
</template>

<script>
//引入
import Header from './components/Header';
import Footer from './components/Footer';

export default {
  name: "app",
  components: {
    Header,
    Footer
  }
}
</script>

<style scoped></style>
